﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class FireFightingForceRequest
    {

        /// <summary>
        /// 主键
        /// </summary>
        public int FightingForceId { get; set; }

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public int UserId { get; set; }


        /// <summary>
        /// 事发时间
        /// </summary>
        public DateTime? TransDatetime { get; set; }

        /// <summary>
        /// 扑救队伍
        /// </summary>
        public List<FightingTeamNum> FightingTeamNums { get; set; }
    }

    /// <summary>
    ///  扑救队伍
    /// </summary>
    public class FightingTeamNum
    {
        /// <summary>
        /// 指挥部编号
        /// </summary>
        public int HeadquarterId { get; set; }

        /// <summary>
        /// 调集队伍数量
        /// </summary>
        public int TeamNum { get; set; }

    }





    public class FireForceSupportReplyReqeust
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ForceSupportId { get; set; }

        /// <summary>
        /// 火灾ID 
        /// </summary>
        public int FireID { get; set; }

        /// <summary>
        /// 区县支援的扑火队信息
        /// </summary>
        public List<SubFireForceSupport> SubFireForceSupports { get; set; }


        /// <summary>
        /// 操作人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 事发时间
        /// </summary>

        public DateTime? TransDatetime { get; set; }


    }




    public class SubFireForceSupport
    {
        /// <summary>
        /// 队伍名称
        /// </summary>
        public string RankName { get; set; }

        /// <summary>
        /// 带队人
        /// </summary>
        public string CaptainName { get; set; }

        /// <summary>
        /// 带队人电话
        /// </summary>
        public string CaptainPhone { get; set; }

        /// <summary>
        /// 支援人数
        /// </summary>
        public int Sum { get; set; }
    }

}
